home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / mvbits.z / mvbits
Encoding:
Text File  |  2002-10-03  |  2.9 KB  |  60 lines

  1. MVBITS(3I)                                            Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      MMVVBBIITTSS - Copies a sequence of bits from one integer data object to
  6.      another
  7.  
  8. SSYYNNOOPPSSIISS
  9.      CCAALLLL MMVVBBIITTSS (([FFRROOMM==]_f_r_o_m,, [FFRROOMMPPOOSS==]_f_r_o_m_p_o_s,, [LLEENN==]_l_e_n,, [TTOO==]_t_o,,
  10.      [TTOOPPOOSS==]_t_o_p_o_s))
  11.  
  12. IIMMPPLLEEMMEENNTTAATTIIOONN
  13.      UNICOS, UNICOS/mk, IRIX systems
  14.  
  15.      CF90, MIPSpro 7 Fortran 90
  16.  
  17. SSTTAANNDDAARRDDSS
  18.      Fortran
  19.  
  20. DDEESSCCRRIIPPTTIIOONN
  21.      The MMVVBBIITTSS intrinsic subroutine copies a sequence of bits from one
  22.      integer data object to another.  It accepts the following arguments:
  23.  
  24.      _f_r_o_m      Must be of type integer.  It is an IINNTTEENNTT ((IINN)) argument.
  25.  
  26.      _f_r_o_m_p_o_s   Must be of type integer and nonnegative.  It is an IINNTTEENNTT
  27.                ((IINN)) argument.  _f_r_o_m_p_o_s + _l_e_n must be less than or equal to
  28.                BBIITT__SSIIZZEE (_f_r_o_m).  The bit model defines the interpretation
  29.                of an integer value as a sequence of bits.  For more
  30.                information on the bit model see the MMOODDEELLSS(3I) man page.
  31.  
  32.      _l_e_n       Must be of type integer and nonnegative.  It is an IINNTTEENNTT
  33.                ((IINN)) argument.
  34.  
  35.      _t_o        Must be a variable of type integer with the same kind type
  36.                parameter value as _f_r_o_m and may be the same variable as
  37.                _f_r_o_m.  It is an IINNTTEENNTT ((IINNOOUUTT)) argument.  _t_o is set by
  38.                copying the sequence of bits of length _l_e_n, starting at
  39.                position _f_r_o_m_p_o_s of _f_r_o_m to position _t_o_p_o_s of _t_o.  No other
  40.                bits of _t_o are altered.  On return, the _l_e_n bits of _t_o
  41.                starting at _t_o_p_o_s are equal to the value that the _l_e_n bits
  42.                of _f_r_o_m starting at _f_r_o_m_p_o_s had on entry.
  43.  
  44.      _t_o_p_o_s     Must be of type integer and nonnegative.  It is an IINNTTEENNTT
  45.                ((IINN)) argument.  _t_o_p_o_s + _l_e_n must be less than or equal to
  46.                BBIITT__SSIIZZEE (_t_o).
  47.  
  48.      MMVVBBIITTSS is an elemental subroutine.  The name of this intrinsic cannot
  49.      be passed as an argument.
  50.  
  51. EEXXAAMMPPLLEESS
  52.      If TTOO has the initial value 6, the value of TTOO after the statement
  53.      CCAALLLL MMVVBBIITTSS((77,, 22,, 22,, TTOO,, 00)) is 5.
  54.  
  55. SSEEEE AALLSSOO
  56.      MMOODDEELLSS(3I)
  57.  
  58.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  59.      man page.
  60.